Enable some more modules
authorAnton Gladky <gladk@debian.org>
Thu, 7 Jan 2021 18:43:48 +0000 (19:43 +0100)
committerAnton Gladky <gladk@debian.org>
Thu, 7 Jan 2021 18:43:48 +0000 (19:43 +0100)
debian/libvtk9-qt-dev.install
debian/rules

index 0be394ae9f62def8cd07cf873b6bdc7ab2ad7ab3..b68a649478cb0672effb26a8635a4ae91f6dbc6c 100644 (file)
@@ -1,4 +1,3 @@
-# remove Python files here and privide a symlink in the python package 
-# usr/lib/*/python2.7/site-packages/vtk/*Qt*
 usr/lib/*/*Qt*.so
 usr/include/vtk-9.0/*Qt*
+usr/include/vtk-9.0/Q*
index af2a0ac41ce6edff4dd231a93d8debd64b3f099b..f0d5dc20578f401618e0b113aa12c7da23154f22 100755 (executable)
@@ -30,9 +30,15 @@ extra_flags +=  \
        -DVTK_BUILD_EXAMPLES=OFF \
        -DVTK_BUILD_TESTING=OFF \
        -DVTK_EXTRA_COMPILER_WARNINGS=ON \
+       -DVTK_GROUP_ENABLE_Qt:STRING="YES" \
+       -DVTK_MODULE_ENABLE_VTK_GUISupportQtSQL:STRING="NO" \
+       -DVTK_GROUP_ENABLE_Rendering:STRING="YES" \
+       -DVTK_GROUP_ENABLE_Views:STRING="YES" \
        -DVTK_MODULE_ENABLE_VTK_RenderingQt:STRING="YES" \
        -DVTK_MODULE_ENABLE_VTK_RenderingTk:STRING="YES" \
        -DVTK_MODULE_ENABLE_VTK_utf8:STRING="YES" \
+       -DVTK_MODULE_ENABLE_VTK_InteractionWidgets:STRING="YES" \
+       -DVTK_MODULE_ENABLE_VTK_InteractionImage:STRING="YES" \
        -DVTK_MODULE_USE_EXTERNAL_VTK_doubleconversion:BOOL=ON \
        -DVTK_MODULE_USE_EXTERNAL_VTK_eigen:BOOL=ON \
        -DVTK_MODULE_USE_EXTERNAL_VTK_expat:BOOL=ON \
@@ -85,7 +91,7 @@ override_dh_install:
        rm -rf $(CURDIR)/debian/tmp/usr/share/licenses
        find $(CURDIR)/debian/libvtk9-dev/ -name "*Qt*" -exec rm {} \; || true
        find $(CURDIR)/debian/libvtk9-dev/ -name "libvtkRenderingPythonTkWidgets.so" -exec rm {} \; || true
-       find $(CURDIR)/debian/libvtk9/ -name "*Qt*" -exec rm {} \; || true
        find $(CURDIR)/debian/libvtk9-dev/usr/include/ -name "Q*" -exec rm {} \; || true
+       find $(CURDIR)/debian/libvtk9/ -name "*Qt*" -exec rm {} \; || true
        find $(CURDIR)/debian/tmp/usr/share/doc/vtk-9.0/doxygen -name "_formulas.log" -exec rm {} \; || true
        find $(CURDIR)/debian/build/Utilities/Doxygen/doc/html -name "_formulas.log" -exec rm {} \; || true